#define  _CRT_SECURE_NO_WARNINGS 1

#include <stdio.h>

#include <stdbool.h>

void print(int arr[], int sz)
{
	int i = 0;
	for (i = 0; i < sz; i++)
	{
		printf("%d", arr[i]);
	}

}

int main()
{
	int i = 0;
	int arr[10] = { 0 };
	for (i = 0; i < 10; i++)
	{
		printf("%d\n", arr[i]);
	}
	_Bool flag = true;
	if (flag)
		printf("i like C\n");
	bool a = true;
	if (a)
		printf("i like C\n");
	printf("%zd\n", sizeof(i));//4
	printf("%zd\n", sizeof i);//4
	printf("%zd\n", sizeof(int));//4
	int b = 100;
	printf("%zd\n", sizeof(b));//4
	printf("%zd\n", sizeof b);//4
	printf("%zd\n", sizeof(char));//1
	printf("%zd\n", sizeof(float));//4
	printf("%zd\n", sizeof(double));//8
	printf("%zd\n", sizeof(long double));//8
	printf("%zd\n", sizeof(short)); //2
	printf("%zd\n", sizeof(_Bool));//1
	printf("%zd\n", sizeof(bool));//1
	printf("%zd\n", sizeof(3 + 3.5));//8
	printf("%zd\n", sizeof(3 + 3));//4
	printf("%zd\n", sizeof(3.5 + 3.5));//8
	printf("%zd\n", sizeof(3));//4
	printf("%zd\n", sizeof(3.5));//8
	printf("%zd\n", sizeof(3 + 3 + 3));//4
	printf("%zd\n", sizeof(3.5 + 3.5 + 3.5));//8
	short s = 2;
	int c = 10;
	printf("%zd\n", sizeof(s = b + 1));//2
	printf("s=%d\n", s);//s=2

	return 0;
}